package com.ttg.model.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 银行客户信息表
 * @author zhy
 * @date 2024/04/16 14:34
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tbl_bank_customer_info")
public class BankCustomerInfo implements Serializable {


    private static final long serialVersionUID = 5503585263499857186L;
    /**
     * id
     */
    @TableId(value = "id" , type = IdType.AUTO)
    private Long id;

    /**
     * 客户号
     */
    @TableField(value = "cst_id")
    private String cstId;


    /**
     * 客户名称
     */
    @TableField(value = "cst_name")
    private String cstName;


    /**
     * 身份证卡号
     */
    @TableField(value = "id_card_no")
    private String idCardNo;


    /**
     * 手机号码
     */
    @TableField(value = "phone_number")
    private String phoneNumber;


    /**
     * 年龄
     */
    @TableField(value = "age")
    private Integer age;


    /**
     * 性别
     */
    @TableField(value = "sex")
    private Integer sex;


    /**
     * 职业
     */
    @TableField(value = "occupation")
    private String occupation;


    /**
     * 所属地区
     */
    @TableField(value = "address")
    private String address;


    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private LocalDateTime updateTime;
    
}
